package core;

import java.util.Map;



/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Wijnand
 */
public interface Node {
	Map<String, Port> getPortMap();
			
	/** = null if no such port */
	Port getPort(String s);

	boolean hasPort(String s);

	/** number of ports */
	int portCount();

    String getId();

}
